Traditional chat applications continue to suffer from high latency, poor scalability, and limited This system will allow the message to be delivered instantly and synchronized in real-time while allowing users to connect and connect dynamically and securely exchange messaging data. Experimental results show that our system reduces message delivery delay by 65% and increases scalability by allowing more concurrent connections without slowing down system performance. security as they are based on HTTP polling architectures with relational databases and monolithic structures. In this paper, we propose a new cloud-based real-time chat methodology that uses distributed storage, token-based user authentication, and low-latency, bidirectional protocols.
Introduction
Real-time messaging applications are essential for digital communication, but traditional systems face delays, synchronization issues, and reliability problems due to limitations in infrastructure, REST APIs, HTTP polling, and relational databases. To address these challenges, the paper proposes a cloud-based chat system leveraging distributed databases, persistent communication protocols, modular design, and AI-driven mechanisms.
The methodology introduces an enhanced routing mechanism for Wireless Sensor Networks (WSNs) with four stages: network initialization, cluster formation, intelligent cluster head (CH) selection using Q-learning, and adaptive route discovery. This approach optimizes energy usage, reduces latency, increases message delivery reliability, and ensures secure communication via encryption.
Performance results show significant improvements over traditional systems, including a 65% reduction in message delay, support for five times more concurrent users, higher message delivery success, and energy-efficient operations, demonstrating scalability, reliability, and enhanced user experience.
Conclusion
This work has incorporated intelligent CH selection due to Q-learning along with our improved routing discovery experience it will help eliminate the restrictions of those existing WSN routing protocols. The proposed model provided an effective means of managing clusters and adaptive routing while leveraging three significant properties: residual energy, remaining distance to base station, link quality, in addition it will perform in a reinforcement learning model at the same time, which reducing delay and improves system throughput, reliability, and ultimately total network lifetime - presenting suitable applications for WSN such as disaster management, smart agriculture and environmental monitoring.
References
[1] R. Sharma, P. Patel, and M. K. Singh, “Blockchain for secure data management in digital platforms,” IEEE Access, vol. 9, pp. 145233–145245, 2021.
[2] S. Gupta and A. Verma, “AI-driven anomaly detection for cybersecurity applications,” Journal of Information Security and Applications, vol. 58, pp. 102–112, 2021.
[3] Singh, R. Kapoor, and S. Bansal, “Blockchain and IoT for secure financial transactions: A review,” Future Generation Computer Systems, vol. 120, pp. 34–45, 2021.
[4] V. Kumar and S. Rani, “Machine learning integrated blockchain for healthcare record management,” Computers in Biology and Medicine, vol. 134, p. 104512, 2021.
[5] P. Soltani, M. Eskandarpour, A. Ahmadizad, and H. Soleimani, “Energy-Efficient Routing Algorithm for Wireless Sensor Networks: A Multi-Agent Reinforcement Learning Approach,” arXiv preprint arXiv:2508.14679, Aug. 2025.
[6] E. S. Ali et al., “Energy-Efficient CH Selection Scheme Based on ABC and Q-Learning Approaches for IoUT Applications,” Systems, vol. 11, no. 11, art. 529, 2023.
[7] W. Heinzelman, A. Chandrakasan, and H. Balakrishnan, “Energy-Efficient Communication Protocols for Wireless Microsensor Networks,” in Proc. 33rd Hawaii Int. Conf. Syst. Sci. (HICSS), Jan. 2000.
[8] Gripsy, J. V., Kowsalya, R., Thendral, T., Sheeba, L. (2025). Integrating AI and Blockchain for Cybersecurity Insurance in Risk Management for Predictive Analytics in Insurance. In Cybersecurity Insurance Frameworks and Innovations in the AI Era (pp. 349–376). IGI Global. https://doi.org/10.4018/979-8-3373-1977-3.ch012
[9] Gripsy, J. V., Sowmya, M., Sharmila Banu, N., Senthilkumaran, B. (2025). Qualitative Research Methods for Professional Competencies in Educational Leadership. In Leadership in Higher Education: A Global Perspective (pp. 1–20). IGI Global. https://doi.org/10.4018/979-8-3373-1882-0.ch013
[10] Gripsy, J. V., Sheeba, L., Kumar, D., Lukose, B. (2025). Eco-Intelligent 6G Deployment: A Data-Driven Multi-Objective Framework for Sustainable Impact Analysis and Optimization. In 6G Wireless Communications and Mobile Computing (pp. 1–20). IGI Global DOI: 10.4018/979-8-3373-2220-9.ch008
[11] Gripsy, J. V., Selvakumari, S. N. A., Senthil Kumaran, B. (2025). Transforming Student Engagement Through AI, AR, VR, and Chatbots in Education. In Emerging Technologies in Education (pp. 1–20). IGI Global. https://doi.org/10.4018/979-8-3373-1882-0.ch015
[12] Gripsy, J. V., Hameed, S. S., Begam, M. J. (2024). Drowsiness Detection in Drivers: A Machine Learning Approach Using Hough Circle Classification Algorithm for Eye Retina Images. In Applied Data Science and Smart Systems (pp. 202–208). CRC Press. https://doi.org/10.1201/9781003471059-28
[13] Gripsy, J. V., Mehala, M. (2020). Voice Based Medicine Reminder Alert Application for Elder People. International Journal of Recent Technology and Engineering, 8(6), 2284–2288. https://doi.org/10.35940/ijrte.F7731.038620
[14] Gripsy, J. V., & Kanchana, K. R. (2020). Secure Hybrid Routing To Thwart Sequential Attacks in Mobile Ad-Hoc Networks. Journal of Advanced Research in Dynamical and Control Systems, 12(4), 451–459. https://doi.org/10.5373/JARDCS/V12I4/20201458
[15] J. Viji Gripsy, “Biological software for recognition of specific regions in organisms,” Bioscience Biotechnology Research Communications, vol. 13, no. 1, pp. —, Mar. 2020. doi: 10.21786/bbrc/13.1/54.
[16] J. Viji Gripsy and A. Jayanthiladevi, “Energy hole minimization in wireless mobile ad hoc networks using enhanced expectation-maximization,” in Proc. 2023 9th Int. Conf. Adv. Comput. Commun. Syst. (ICACCS), Mar. 2023, pp. 1012–1019. doi: 10.1109/ICACCS57279.2023.10112728
[17] J. Viji Gripsy and A. Jayanthiladevi, “Energy optimization and dynamic adaptive secure routing for MANET and sensor network in IoT,” in Proc. 2023 7th Int. Conf. Comput. Methodol. Commun. (ICCMC), Feb. 2023, pp. 1283–1290. doi: 10.1109/iccmc56507.2023.10083519.
[18] S. Karpagavalli, J. V. Gripsy, and K. Nandhini, “WITHDRAWN: Speech assistive Tamil learning mobile applications for learning disability children,” Materials Today: Proceedings, Feb. 2021. doi: 10.1016/j.matpr.2021.01.050.
[19] J. Viji Gripsy, “Trust-based secure route discovery method for enhancing security in mobile ad-hoc networks,” Int. J. Sci., Eng. Technol., vol. 13, no. 1, Jan. 2025. doi: 10.61463/ijset.vol.13.issue1.147.
[20] J. Viji Gripsy, N. A. Selvakumari, L. Sheeba, and B. Senthil Kumaran, “Transforming student engagement through AI, AR, VR, and chatbots in education,” in Chatbots in Educational Leadership and Management, Feb. 2025, pp. 73–100. doi: 10.4018/979-8-3693-8734-4.ch004.
[21] A. S. Vijendran and J. V. Gripsy, “Enhanced secure multipath routing scheme in mobile ad hoc and sensor networks,” in Proc. 2nd Int. Conf. Current Trends Eng. Technol. (ICCTET), Jul. 2014. doi: 10.1109/icctet.2014.6966289.
[22] K. V. Greeshma and J. V. Gripsy, “RadientFusion-XR: A hybrid LBP–HOG model for COVID-19 detection using machine learning,” Biotechnol. Appl. Biochem., Jul. 2025. doi: 10.1002/bab.70020.
[23] T. Divya and J. V. Gripsy, “Lung disease classification using deep learning 1-D convolutional neural network,” Int. J. Data Min., Model. Manage., 2025. doi: 10.1504/ijdmmm.2025.10066898.
[24] J. Viji Gripsy, “Hybrid deep learning framework for crop yield prediction and weather impact analysis,” Int. J. Res. Appl. Sci. Eng. Technol., Aug. 2025. doi: 10.22214/ijraset.2025.73800.
[25] J. Viji Gripsy and K. R. Kanchana, “Relaxed hybrid routing to prevent consecutive attacks in mobile ad-hoc networks,” Int. J. Internet Protocol Technol., vol. 16, no. 2, 2023. doi: 10.1504/ijipt.2023.131292.
[26] J. Viji Gripsy, M. Sowmya, N. Sharmila Banu, D. Kumar, and B. Senthilkumaran, “Qualitative research methods for professional competencies in educational leadership,” in Research Methods for Educational Leadership and Management, May 2025, pp. 213–236. doi: 10.4018/979-8-3693-9425-0.ch009.
[27] J. Viji Gripsy and A. Jayanthiladevi, “Optimizing secure routing for mobile ad-hoc and WSN in IoT through dynamic adaption and energy efficiency,” in Intelligent Wireless Sensor Networks and the Internet of Things, May 2024, pp. 45–65. doi: 10.1201/9781003474524-3.
[28] A. S. Vijendran and J. Viji Gripsy, “RECT zone based location-aided routing for mobile ad hoc and sensor networks,” Asian J. Sci. Res., vol. 7, no. 4, pp. 472–481, Sep. 2014. doi: 10.3923/ajsr.2014.472.481.
[29] T. Divya and J. Viji Gripsy, “Machine learning algorithm for lung cancer classification using ADASYN with standard random forest,” Int. J. Data Min. Bioinformatics, 2025. doi: 10.1504/ijdmb.2025.10065391.
[30] J. Viji Gripsy and T. Divya, “Lung cancer prediction using combination of oversampling with standard random forest algorithm for imbalanced dataset,” in Algorithms for Intelligent Systems, 2024. doi: 10.1007/978-981-97-3191-6_1.
[31] J. Viji Gripsy and K. R. Kanchana, “Relaxed hybrid routing to prevent consecutive attacks in mobile ad-hoc networks,” Int. J. Internet Protocol Technol., vol. 16, no. 2, 2023. doi: 10.1504/ijipt.2023.10056776.
[32] J. V. Gripsy, N. A. Selvakumari, S. S. Hameed, and M. J. Begam, “Drowsiness detection in drivers: A machine learning approach using Hough circle classification algorithm for eye retina images,” in Applied Data Science and Smart Systems, Jun. 2024, pp. 202–208. doi: 10.1201/9781003471059-28.
[33] A. S. Vijendran and J. Viji Gripsy, “Performance evaluation of ASMR with QRS and RZLSR routing scheme in mobile ad-hoc and sensor networks,” Int. J. Future Gener. Commun. Netw., vol. 7, no. 6, Dec. 2014. doi: 10.14257/ijfgcn.2014.7.6.05.
[34] J. Viji Gripsy, R. Kowsalya, T. Thendral, A. SenthilKumar, J. T. Mesia Dhas, and L. Sheeba, “Integrating AI and blockchain for cybersecurity insurance in risk management for predictive analytics in insurance,” in Harnessing Data Science for Sustainable Insurance, Jul. 2025. doi: 10.4018/979-8-3373-1882-0.ch013.
[35] R. Kowsalya, J. Viji Gripsy, C. V. Banupriya, and R. Sathya, “Social impact of technology for sustainable development: A digital distraction detection approach,” in Lecture Notes in Networks and Systems, 2025, pp. 245–256. doi: 10.1007/978-981-96-6063-6_22.
[36] J. Viji Gripsy and M. Sasikala, “Nature-inspired optimized artificial bee colony for decision making in energy-efficient wireless sensor networks,” in Advances in Computational Intelligence and Robotics, May 2024, pp. 89–104. doi: 10.4018/979-8-3693-2073-0.ch006.
[37] J. Viji Gripsy and A. S. Kavitha, “Survey on environmental issues of green computing,” Indian J. Appl. Res., vol. 4, no. 2, pp. 156–160, Oct. 2011. doi: 10.15373/2249555x/feb2014/34.
[38] K. V. Greeshma and J. Viji Gripsy, “A review on classification and retrieval of biomedical images using artificial intelligence,” in Internet of Things, 2021, pp. 23–38. doi: 10.1007/978-3-030-75220-0_3.
[39] J. Viji Gripsy, M. Sasikala, and R. Maneendhar, “Classification of cyber attacks in Internet of Medical Things using particle swarm optimization with support vector machine,” in Lecture Notes in Networks and Systems, 2024, pp. 301–315. doi: 10.1007/978-3-031-61929-8_26.
[40] J. Viji Gripsy, B. Lukose, L. Sheeba, J. T. M. Dhas, R. Jayasree, and N. V. Brindha, “Enhancing cybersecurity insurance through AI and blockchain for proactive risk management,” in Advances in Computational Intelligence and Robotics, May 2025, pp. 349–376. doi: 10.4018/979-8-3373-1977-3.ch012.
[41] M. Mehala and J. V. Gripsy, “Voice based medicine remainder alert application for elder people,” Int. J. Recent Technol. Eng. (IJRTE), vol. 8, no. 6, Mar. 2020, PP: 2284-2289 doi: 10.35940/ijrte.f7731.038620.
[42] J. Viji Gripsy, “A hybrid RFR–BiLSTM framework for social media engagement and web traffic prediction,” Int. J. Sci. Res. Comput. Sci., Eng. Inf. Technol., Volume 11 , Issue 4, Aug. 2025. doi: 10.32628/cseit25111691.
[43] G. Bharathi, R. N. M. Vidhya, J. V. Gripsy, J. Mythili, and D. Suganthi, “DRBRO–Dynamic reinforcement based route optimization for efficient route discovery in mobile ad-hoc networks,” Int. J. Res. Publ. Rev., vol. 6, Issue 2, Feb. 2025, pp 1804-1806. doi: 10.55248/gengpi.6.0225.0768.